package com.wgo.bpot.client.servicerequest;

import java.net.URL;

import com.wgo.bpot.common.transport.servicefacade.BpotServices;
import com.wgo.bpot.domain.common.AuthenticationHandler;

public class HessianRemoteServicesFactory extends AbstractHessianRemoteServicesFactory<BpotServices> {

    public HessianRemoteServicesFactory(URL remoteUrl , AuthenticationHandler authenticationHandler) {
        super(remoteUrl, authenticationHandler);
    }

    public BpotServices createServices() {
        BpotServices result = ServiceRequestor.createServicesStub(getRemoteServices(),BpotServices.class, getAuthenticationHandler());
        return result;
    }

}
